package com.xqgl.bean;

public class Letter {
	private int id;
	private String villagename;
	private String lettersource;
	private String lettertitle;
	private String lettercontent;
	private String letterctime;
	private String letterstate;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getVillagename() {
		return villagename;
	}
	public void setVillagename(String villagename) {
		this.villagename = villagename;
	}
	public String getLettersource() {
		return lettersource;
	}
	public void setLettersource(String lettersource) {
		this.lettersource = lettersource;
	}
	public String getLettertitle() {
		return lettertitle;
	}
	public void setLettertitle(String lettertitle) {
		this.lettertitle = lettertitle;
	}
	public String getLettercontent() {
		return lettercontent;
	}
	public void setLettercontent(String lettercontent) {
		this.lettercontent = lettercontent;
	}
	public String getLetterctime() {
		return letterctime;
	}
	public void setLetterctime(String letterctime) {
		this.letterctime = letterctime;
	}
	public String getLetterstate() {
		return letterstate;
	}
	public void setLetterstate(String letterstate) {
		this.letterstate = letterstate;
	}
	
	public Letter(int id, String villagename, String lettersource, String lettertitle, String lettercontent,
			String letterctime, String letterstate) {
		super();
		this.id = id;
		this.villagename = villagename;
		this.lettersource = lettersource;
		this.lettertitle = lettertitle;
		this.lettercontent = lettercontent;
		this.letterctime = letterctime;
		this.letterstate = letterstate;
	}
	public Letter() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "Letter [id=" + id + ", villagename=" + villagename + ", lettersource=" + lettersource + ", lettertitle="
				+ lettertitle + ", lettercontent=" + lettercontent + ", letterctime=" + letterctime + ", letterstate="
				+ letterstate + "]";
	}
	
}
